package com.zju.cst.cloudApp.service.impl;

import com.zju.cst.cloudApp.dao.HostInfoDao;
import com.zju.cst.cloudApp.entity.HostInfo;
import com.zju.cst.cloudApp.service.HostService;

public class HostServiceImpl implements HostService {

	private HostInfoDao hostInfoDao;
	
	@Override
	public void registerHost(HostInfo hostInfo) {
		hostInfoDao.insertHostInfo(hostInfo);
	}

	public HostInfoDao getHostInfoDao() {
		return hostInfoDao;
	}

	public void setHostInfoDao(HostInfoDao hostInfoDao) {
		this.hostInfoDao = hostInfoDao;
	}

	@Override
	public boolean directUpdateStatus(HostInfo hostInfo) {
		return false;
	}

	@Override
	public boolean addUpdateStatus(HostInfo hostInfo) {
		return false;
	}


}
